package week9.protect2;

public class EatableTest {
    public static void main(String[] args){
        Human[] humans=new Human[3];
        humans[0]=new Chinese();
        humans[1]=new American();
        humans[2]=new Indian();
        for (Human human: humans){
            human.eat();
        }
    }
}
